package service.impl;

import bean.pojo.GdDetail;
import dao.GdDetailMapper;
import org.springframework.stereotype.Service;
import service.GdDetailService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GdDetailServiceImpl implements GdDetailService {

    @Resource
    private GdDetailMapper gdDetailMapper;

    public int insert(GdDetail pojo){
        return gdDetailMapper.insert(pojo);
    }

    public int insertList(List< GdDetail> pojos){
        return gdDetailMapper.insertList(pojos);
    }

    public List<GdDetail> select(GdDetail pojo){
        return gdDetailMapper.select(pojo);
    }

    public int update(GdDetail pojo){
        return gdDetailMapper.update(pojo);
    }

}
